package com.kb.order.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.kb.order.pojo.Food;

@Mapper
public interface FoodDao {

    int insert(@Param("pojo") Food pojo);

    int insertList(@Param("pojos") List< Food> pojo);

    List<Food> select(@Param("pojo") Food pojo);

    int update(@Param("pojo") Food pojo);

    Food selectOne(Integer id);

    List<Food> selectbyshopid(List id);

}
